package com.itheima.blog.search.domain.pojo;

import com.itheima.blog.search.domain.doc.TBlogDOC;
import lombok.Data;

import java.util.List;

@Data
public class PageResult {
    private Long total;
    private List<TBlogDOC> hotels;

    public PageResult() {
    }

    public PageResult(Long total, List<TBlogDOC> hotels) {
        this.total = total;
        this.hotels = hotels;
    }

}
